[INFO] cloning repository https://github.com/laikas123/RegexSandbox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laikas123/RegexSandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaikas123%2FRegexSandbox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaikas123%2FRegexSandbox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d10b51dc08e4487ded92d0fa3005293c344c767
[INFO] checking laikas123/RegexSandbox against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaikas123%2FRegexSandbox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/laikas123/RegexSandbox
[INFO] finished tweaking git repo https://github.com/laikas123/RegexSandbox
[INFO] tweaked toml for git repo https://github.com/laikas123/RegexSandbox written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/laikas123/RegexSandbox on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/laikas123/RegexSandbox already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded debug_print v1.0.0
[INFO] [stderr]   Downloaded regex v1.7.3
[INFO] [stderr]   Downloaded memchr v2.5.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b
[INFO] running `Command { std: "docker" "start" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking debug_print v1.0.0
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking regex v1.7.3
[INFO] [stderr]     Checking sandbox_regex v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/grabby.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Ok(v) => assert_eq!(0, 1),
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Err(e) => assert_eq!(1, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/grabby.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut filepath = "/home/logan/test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut result = get_every_part_of_filepath(filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |     let mut filepath = "/home/logan dude/test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let mut result = get_every_part_of_filepath(filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let mut filepath = r"/home/logan dude $$$ ***/ \\\test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut result = get_every_part_of_filepath(filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let mut filepath = "/home/logan/test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut result = get_text_separated_by_substring("/", filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut filepath = "home logan test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     let mut result = get_text_separated_by_substring(" ", filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:230:9
[INFO] [stdout]     |
[INFO] [stdout] 230 |     let mut filepath = "home  logan  test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let mut result = get_text_separated_by_substring(" ", filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:239:9
[INFO] [stdout]     |
[INFO] [stdout] 239 |     let mut filepath = "home??**&&logan??**&&test.txt";
[INFO] [stdout]     |         ----^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:240:9
[INFO] [stdout]     |
[INFO] [stdout] 240 |     let mut result = get_text_separated_by_substring("??**&&", filepath);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:244:13
[INFO] [stdout]     |
[INFO] [stdout] 244 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |     let mut c = "W";
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let mut text = "Hello World";
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:284:9
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let mut c = r"\";
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/grabby.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 285 |     let mut text = r"/User\backwards/blah";
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:279:13
[INFO] [stdout]     |
[INFO] [stdout] 279 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/grabby.rs:289:13
[INFO] [stdout]     |
[INFO] [stdout] 289 |         Err(e) => assert_eq!(0, 1),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     get_every_part_of_filepath("/home/logan/test.txt");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let _ = get_every_part_of_filepath("/home/logan/test.txt");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     get_every_part_of_filepath("/home/logan/test.txt");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let _ = get_every_part_of_filepath("/home/logan/test.txt");
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.42s
[INFO] running `Command { std: "docker" "inspect" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b", kill_on_drop: false }`
[INFO] [stdout] 5f5c45b72a19a3439e2790619cc3649ad0b0692ddc5a42e6525694a4d5c1f51b
